package com.lixumin.user.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lixumin.user.dao.DepartmentMapper;
import com.lixumin.user.entity.Department;

@Service("departmentServiceImpl")
public class DepartmentServiceImpl implements DepartmentService {

	@Autowired
	DepartmentMapper deptmapper;
	public int createdDepartment(Department d) {
		deptmapper.insertSelective(d);
		
		return 0;
	}

}
